style: Fix drawing of insensitive text
authorBenjamin Otte <otte@redhat.com>
Sun, 12 Sep 2010 13:55:57 +0000 (15:55 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 12 Sep 2010 14:00:05 +0000 (16:00 +0200)
commit66e860b5d19ead7d30b13eacfbe65b22b24c9d37
treef888ff55be031b2817d1d6b1b2e9dc19c9059268
parent08dd02fe255487f5c7953de9b2c8b63c2e937989
style: Fix drawing of insensitive text

When writing the original code I erroneously assumed that the current
point of the cairo context would be saved by cairo_save/restore(), but
of course the current point is part of the path and therefor isn't
saved.

Also do a cairo_new_path() before rendering any text so that we are sure
the text ends up at the right spot.
gtk/gtkstyle.c